How to think recursively

Recursion Explained

Created: 2022-06-18
Tags: #permanent


You don't have to know what every step does.
What you want is faith.

  • Keeping in mind what the function should do, not what it currently does
  • Identifying the proper subproblems
  • Use the solution to your subproblems to solve the original problem
  • Writing a base case

References